package com.ruoyi.project.er.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.er.domain.PaeaErError;
import com.ruoyi.project.paea.paeaDsTrade.domain.PaeaDsTrade;
import com.ruoyi.project.sdi.sdiImage.domain.SdiImage;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 督办查询Service接口
 *
 * @author XQ.XU
 * @date 2020-03-22
 */
public interface IPaeaErErrorService extends IService<PaeaErError>
{
    /**
     * 查询督办查询
     *
     * @param id 督办查询ID
     * @return 督办查询
     */
    public PaeaErError selectPaeaErErrorById(String id);

    /**
     * 查询督办查询列表
     *
     * @param paeaErError 督办查询
     * @return 督办查询集合
     */
    public List<PaeaErError> selectPaeaErErrorList(PaeaErError paeaErError);

    /**
     * 新增督办查询
     *
     * @param paeaErError 督办查询
     * @return 结果
     */
    public int insertPaeaErError(PaeaErError paeaErError);

    /**
     * 修改督办查询
     *
     * @param paeaErError 督办查询
     * @return 结果
     */
    public int updatePaeaErError(PaeaErError paeaErError);

    /**
     * 批量删除督办查询
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deletePaeaErErrorByIds(String ids);

    /**
     * 删除督办查询信息
     *
     * @param id 督办查询ID
     * @return 结果
     */
    public int deletePaeaErErrorById(String id);
    public int deletePaeaErError(@NotNull List<String> errIds);

    List<PaeaErError> selectPaeaErErrorHisListByErrId(String id);

    public PaeaDsTrade selectPaeaErErrorByErrId(String errId);

    List<SdiImage> selectSdiImageListByErrId(String errId);
}
